#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include "scorekeeperscreen.h"
#include "createplayerscreen.h"
#include "vieweditscreen.h"
#include <QMainWindow>

namespace Ui {
    class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT


public:
    enum ScreenOrientation {
        ScreenOrientationLockPortrait,
        ScreenOrientationLockLandscape,
        ScreenOrientationAuto
    };

    explicit MainWindow(QWidget *parent = 0);
    virtual ~MainWindow();

    // Note that this will only have an effect on Fremantle.
    void setOrientation(ScreenOrientation orientation);

    void showExpanded();

public slots:
       void openScoreKeeperWindow();
       void openCreateWindow();
       void openViewEditWindow();
private:
    Ui::MainWindow *ui;

private:
    ScoreKeeperScreen *myNewWindow;
    CreatePlayerScreen *myNewWindow2;
    ViewEditScreen *myNewWindow3;

private slots:
    void playButtonClicked();
    void createButtonClicked();
    void viewEditButtonClicked();
};

#endif // MAINWINDOW_H
